package com.atguigu.springcloud.service;

import com.atguigu.springcloud.entites.Payment;

/**
 * @ClassName PaymentService
 * @Author VCR
 * @Date 2021/12/20 21:02
 * @Version 1.0
 */
public interface IPaymentService {
    /**
     * 新增数据
     *
     * @param payment 实例对象
     * @return 影响行数
     */
    int insert(Payment payment);

    /**
     * 根据Id查询
     *
     * @param id
     * @return
     */
    Payment queryPaymentById(Long id);
}
